<template>
  <div class="address-main">
    <div class="address-header">
      <span @click="goBack"><van-icon name="arrow-left" /></span>
      <div class="center">消息列表</div>
    </div>
</div>
</template>
<script>
export default {
  data(){
    return{
      active:0
    }
  },
  methods:{
    goBack(){
      this.$router.go(-1)
    },
  }
}
</script>
<style scoped lang="scss">
.address-main {
  width: 100%;
  min-height: 100vh;
  background: #fff;

  .address-header {
    width: 100%;
    height: 45px;
    display: flex;
    background: #fff;
    justify-content: center;
    align-items: center;
    position: relative;

    span {
      position: absolute;
      left: 10px;
    }

    .center {
      width: 100%;
      height: 45px;
      text-align: center;
      line-height: 45px;
      font-size: 15px;
    }
  }
}
</style>